<template>
  <div>
    <h1>🧸</h1>
    <p>春日部向日葵班：&nbsp;&nbsp;&nbsp;&nbsp;{{ $route.params.name }} &nbsp;&nbsp;&nbsp;
    <br><br>排序：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{ $route.params.id }}</p>
   
   <button @click="$router.go(-1)">后退</button>
   <button @click="$router.push('/home')">回到首页</button>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="css" scoped>
div{
    width: 600px;
    height: 400px;
    background-color: #fe7299;
}
h1 {
    text-align: center;
    font-size: 100px;
}
p{
  padding: 0px 0px 0px 30px;
  font-size: 25px;
}
</style>